.nav {
  @include flexBetween();
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  background-color: map-get($nav, bcColor);
  height: map-get($nav, height);
  color: map-get($nav, color);
  font-size: 1rem;
  transition: all 0.5s ease-in-out;
}
.navDesktop {
  @extend .nav;
  padding: 0 36px;
  .itemWrap {
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    .navItem {
      height: 100%;
      line-height: map-get($nav, height);
      text-align: center;
      color: map-get($nav, color);
      min-width: 50px;
      margin: 0 5px;
      font-weight: 1200;
      cursor: pointer;
      &:hover {
        color: lighten(map-get($nav, color), 10%);
        background-color: lighten(map-get($nav, bcColor), 10%);
      }
    }
  }
}
.navMobile {
  @extend .nav;
  padding: 0 20px;
  display: none;

  .MobileMenu {
    position: fixed;
    right: 0;
    top: map-get($nav, height);
    height: calc(100vh - 80px);
    width: 30%;
    background-color: #00000088;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    .navItem {
      width: 70%;
      height: 30px;
      margin: 0 auto;
    }
  }
}

@media screen and (max-width: $hiddenSomeSize) {
  .navDesktop {
    display: none;
  }
  .navMobile {
    display: flex;
  }
}
